package com.chat.api.enums;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*
*功能：
 作者：chenhao
*日期： 2025/6/6 下午6:31
*/

public enum RedisCode {

    PHONE_CODE("phone_code", "手机验证码"),
    EXPIRED_TIME("60", "过期时间");


    private final String code;
    private final String value;

    RedisCode(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }
}
